/* font-family: 'Montserrat', sans-serif; */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 去掉input 密码框后面自带的眼睛 */
input[type="password"]::-ms-reveal{
    display:none
}

li,input{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #f18a31;
}
.box{
    position: relative;
    width: 300px;
}
.box .inputBox,.box .checkInputBox{
    position: relative;
    width: 100%;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.box .checkInputBox{
    margin-top: 10px;
}

.box .inputBox input,.box .checkInputBox input{
    position: relative;
    width: 100%;
    outline: none;
    border: none;
    padding: 10px 5px;
}
.box .inputBox #toggleBtn,.box .checkInputBox #toggleBtn{
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box .inputBox #toggleBtn::before,.box .checkInputBox #toggleBtn::before{
    content: "\f070";
    font-family: fontAwesome;
}

.box .inputBox #toggleBtn.hide::before,.box .checkInputBox #toggleBtn.hide::before{
    content: "\f06e";
    font-family: fontAwesome;
}

.validation{
    background: #EDDFB3;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}
.validation ul{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.validation ul li{
    list-style: none;
    position: relative;
    color: #876445;
    font-size: 0.85em;
    transition: 0.5s;
}

.validation ul li.valid{
    color: rgba(64, 231, 23, 0.8);
}
.validation ul li::before{
    content: "\f192";
    font-family: fontAwesome;
    margin-right: 8px;
}
.validation ul li.valid::before{
    content: "\f00c";
    font-family: fontAwesome;
    margin-right: 8px;
}